# -*- python -*-
# Copyright (c) 2015 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

Import('env')

# This test is only for native x86-32 under the IRT.
if (not env.Bit('tests_use_irt') or
    env.Bit('bitcode') or not env.Bit('build_x86_32')):
  Return()

nexe = env.ComponentProgram('irt_stack_alignment', ['irt_stack_alignment.c'])
node = env.CommandSelLdrTestNacl('irt_stack_alignment.out', nexe)
env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_stack_alignment_test')
